package com.cc8w.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class GoodsAttrEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    private int id;
    private int goodsId;
    private  int attrId;
    private String attrName;
    private List<AttributeValuesEntity> attributeValues;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public int getAttrId() {
        return attrId;
    }

    public void setAttrId(int attrId) {
        this.attrId = attrId;
    }

    public String getAttrName() {
        return attrName;
    }

    public void setAttrName(String attrName) {
        this.attrName = attrName;
    }

    public List<AttributeValuesEntity> getAttributeValues() {
        return attributeValues;
    }

    public void setAttributeValues(List<AttributeValuesEntity> attributeValues) {
        this.attributeValues = attributeValues;
    }

    @Override
    public String toString() {
        return "GoodsAttrEntity{" +
                "id=" + id +
                ", goodsId=" + goodsId +
                ", attrId=" + attrId +
                ", attrName='" + attrName + '\'' +
                ", attributeValues=" + attributeValues +
                '}';
    }
}
